package io.renren.modules.cgs.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.cgs.dao.CgsAppealDao;
import io.renren.modules.cgs.entity.CgsAppealEntity;
import io.renren.modules.cgs.service.CgsAppealService;



@Service("cgsAppealService")
public class CgsAppealServiceImpl implements CgsAppealService {
	@Autowired
	private CgsAppealDao cgsAppealDao;
	
	@Override
	public CgsAppealEntity queryObject(String id){
		return cgsAppealDao.queryObject(id);
	}
	
	@Override
	public List<CgsAppealEntity> queryList(Map<String, Object> map){
		return cgsAppealDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cgsAppealDao.queryTotal(map);
	}
	
	@Override
	public void save(CgsAppealEntity cgsAppeal){
		cgsAppealDao.save(cgsAppeal);
	}
	
	@Override
	public void update(CgsAppealEntity cgsAppeal){
		cgsAppealDao.update(cgsAppeal);
	}
	
	@Override
	public void delete(String id){
		cgsAppealDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		cgsAppealDao.deleteBatch(ids);
	}
	
}
